import {INPUTVALUECHANGE} from "../constant";

export default function valueChangeReduce(pre='',action){
    const {type,data}=action
    switch (type){
        case INPUTVALUECHANGE:
            return pre+data
        default:
            return pre
    }
}
